import { DeviceType, XboxInput } from "@babylonjs/core/DeviceInput/InputDevices/deviceEnums";
import { InputKeyStatus } from "../input-key-status";
import { DeviceSource } from "@babylonjs/core/DeviceInput/InputDevices/deviceSource";
import { DeviceInputKey } from "../device-information";


/**
 * @internal
 * 生成通用手柄预设（待扩充）
 * @param device 设备源
 * @returns 通用手柄预设
 */
const GenericPreset = (device: DeviceSource<DeviceType.Generic>) => {
    return {
        A: new InputKeyStatus(DeviceInputKey.xboxA, XboxInput.A, device),
    };
};


export { GenericPreset };